<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>机构端</title>
        <script src="/Public/static/jquery-2.0.3.min.js"></script>
        <script src="/Public/static/layer/layer.js"></script>
        <link rel="stylesheet" href="__PUBLIC__/Home/css/reset.css">
        <link rel="stylesheet" href="__PUBLIC__/Home/css/style.css">
        <link rel="stylesheet" href="__PUBLIC__/Home/css/page.css" />
	</head>

	<body class="agency_box contentBox pos_rel dpflxr">
		<include file="head" />

		<!-- 2.垂直导航 -->
		<div class="navColumn">
			<a href="{:U('Mechanism/data_management')}" <if condition="$cur eq '客户统计'">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='1'>
				<div class="lineColumn pos_abs"></div>
				<label for="">客户统计</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/statistical_data')}" <if condition="$cur eq '统计数据'">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='2'>
				<div class="lineColumn pos_abs"></div>
				<label for="">统计数据</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/achievement')}" <if condition="$cur eq '业绩排名'">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='3'>
				<div class="lineColumn pos_abs"></div>
				<label for="">业绩排名</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/conversion')}" <if condition="$cur eq '转化情况'">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='1'>
				<div class="lineColumn pos_abs"></div>
				<label for="">转化情况</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/browse')}" <if condition="$cur eq '用户浏览统计'">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='2'>
				<div class="lineColumn pos_abs"></div>
				<label for="">用户浏览统计</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/housing_statistics')}" <if condition="$cur eq '房源统计'">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='3'>
				<div class="lineColumn pos_abs"></div>
				<label for="">房源统计</label>
				<div class="rightArrow">
				</div>
			</a>
			
		</div>


		
		<!-- 二 3.1 客户统计  -->
		<div class="contentArea tabPage actived">
			<!-- 3.1.1 客户统计 -->
			<div id="employeeManage">
				<div class="caTitleBox dpflxr">
					<label for="" class="caTitle">客户统计</label>
					
				</div>
				<div class="dpflxr">
					<div class="dataBox1">
						<label for="" class="dbTitle dpflxr">信息录入</label>
						<div class="dpflxr dataWrapper pos_rel">
							<div class="dpflxc item">
								<label for="" class="num">{$enter_today}</label>
								<label >今日</label>
							</div>
							<div class="dpflxc item">
								<label for="" class="num">{$entered_yesterday}</label>
								<label >昨日</label>
							</div>
						</div>
						<div class="progressBar">
							<div class="layerBar pos_rel">
								<div class="upperBar pos_abs" style="width: {$input_link_comparison}%;"></div>
							</div>
							<div class="dpflxrjb">
								<label>日环比</label>
								<label class="percent">{$input_link_comparison}%</label>
							</div>
						</div>
					</div>
					<div class="dataBox1">
						<label for="" class="dbTitle dpflxr">上访</label>
						<div class="dpflxr dataWrapper pos_rel">
							<div class="dpflxc item">
								<label for="" class="num">{$petition_today}</label>
								<label >今日</label>
							</div>
							<div class="dpflxc item">
								<label for="" class="num">{$petition_yesterday}</label>
								<label >昨日</label>
							</div>
						</div>
						<div class="progressBar">
							<div class="layerBar pos_rel">
								<div class="upperBar pos_abs" style="width: {$input_link_comparison1}%;"></div>
							</div>
							<div class="dpflxrjb">
								<label>日环比</label>
								<label class="percent">{$input_link_comparison1}%</label>
							</div>
						</div>
					</div>
					<div class="dataBox1">
						<label for="" class="dbTitle dpflxr">认筹</label>
						<div class="dpflxr dataWrapper pos_rel">
							<div class="dpflxc item">
								<label for="" class="num">{$raise_money_today}</label>
								<label >今日</label>
							</div>
							<div class="dpflxc item">
								<label for="" class="num">{$raise_money_yesterday}</label>
								<label >昨日</label>
							</div>
						</div>
						<div class="progressBar">
							<div class="layerBar pos_rel">
								<div class="upperBar pos_abs" style="width: {$input_link_comparison2}%;"></div>
							</div>
							<div class="dpflxrjb">
								<label>日环比</label>
								<label class="percent">{$input_link_comparison2}%</label>
							</div>
						</div>
					</div>
					<div class="dataBox1">
						<label for="" class="dbTitle dpflxr">认购</label>
						<div class="dpflxr dataWrapper pos_rel">
							<div class="dpflxc item">
								<label for="" class="num">{$subscribe_today}</label>
								<label >今日</label>
							</div>
							<div class="dpflxc item">
								<label for="" class="num">{$subscribe_yesterday}</label>
								<label >昨日</label>
							</div>
						</div>
						<div class="progressBar">
							<div class="layerBar pos_rel">
								<div class="upperBar pos_abs" style="width: {$input_link_comparison3}%;"></div>
							</div>
							<div class="dpflxrjb">
								<label>日环比</label>
								<label class="percent">{$input_link_comparison3}%</label>
							</div>
						</div>
					</div>
					<div class="dataBox1 last">
						<label for="" class="dbTitle dpflxr">签约</label>
						<div class="dpflxr dataWrapper pos_rel">
							<div class="dpflxc item">
								<label for="" class="num">{$signing_today}</label>
								<label >今日</label>
							</div>
							<div class="dpflxc item">
								<label for="" class="num">{$signing_yesterday}</label>
								<label >昨日</label>
							</div>
						</div>
						<div class="progressBar">
							<div class="layerBar pos_rel">
								<div class="upperBar pos_abs" style="width: {$input_link_comparison4}%;"></div>
							</div>
							<div class="dpflxrjb">
								<label>日环比</label>
								<label class="percent">{$input_link_comparison4}%</label>
							</div>
						</div>
					</div>
					
				</div>
				<div class="cutomerList">
					<form action="" method="POST">
					<div class="caTitleBox dpflxr">
						<label for="" class="caTitle">客户列表</label>
						<div class="dpflxr hWrapper">
							<input type="text" class="searchBox" name="name" value="{$name}" placeholder="请输入客户姓名"/>
							<div class="headItem  dpflxr">
								<select name="" id="" class="selectBox">
									<option value="">来源</option>
									<option value="">来源</option>
								</select>
							</div>
							<div class="headItem  dpflxr">
								<select name="status" id="" class="selectBox">
									<option value="">状态</option>
									<option value="1" <if condition="$status eq 1">selected</if>>信息录入</option>
									<option value="2" <if condition="$status eq 2">selected</if>>上访</option>
									<option value="3" <if condition="$status eq 3">selected</if>>认筹</option>
									<option value="4" <if condition="$status eq 4">selected</if>>认购</option>
									<option value="5" <if condition="$status eq 5">selected</if>>签约</option>
									<option value="6" <if condition="$status eq 6">selected</if>>已失效</option>
								</select>
							</div>
							
							<div><button type="submit"  class="caBtn searchBtn">查询</button></div>
							
						</div>
					</div>
					</form>
				<div class="caTable card">
					<table border="0" width="100%">
							<tbody>
								<tr>
									<th scope="col" width="13%" style="border-top-left-radius: 6px;">编号</th>
									<th scope="col" width="17%" >头像</th>
								
									<th scope="col" width="12%">姓名</th>
									
									<th scope="col" width="13%">手机号</th>
									
									<th scope="col" width="8%">来源</th>
								
									<th scope="col" width="15%">意向楼盘</th>
									<th scope="col" width="12%">置业顾问</th>
									
									<th scope="col" width="10%" style="border-top-right-radius: 6px;box-sizing: border-box;" >状态</th>
								</tr>
								<volist name="list" id="item">
								<tr>
									<td>{$item['id']}</td>
									<td>
										<div class="image avatar">
											<img src="{$item['img']}" >
										</div>
									</td>
									
									<td >{$item['name']}</td>
									<td>{$item['mobile']}</td>
									<td>预约</td>
								
									
									<td>{$item['floor_name']}</td>
									<td>{$item['adviser_name']}</td>
									
									<td style="box-sizing: border-box;" >{$item['status_name']}</td>
								</tr>
								</volist>
						
							</tbody>
					</table>
				</div>
				<div class="page">
					{$_page}
				</div>
			</div>
		
				
			
		</div>
		
		
	</body>
</html>
